class ProjectBugFileModel {
/*
{
  "id": "1865918317175844866",
  "isDelete": 0,
  "creator": "101111",
  "createTime": "2024-12-09 08:36:09",
  "modifier": null,
  "modifyTime": null,
  "remark": null,
  "name": "工程内容,png",
  "url": "bug/工程内容.png",
  "modifierName": null,
  "creatorName": "辛生浩",
  "projectId": null,
  "projectBugId": "1865918242609508354",
  "pageSize": null,
  "pageNum": null
}
*/

  String? id;
  int? isDelete;
  String? creator;
  String? createTime;
  String? modifier;
  String? modifyTime;
  String? remark;
  String? name;
  String? url;
  String? modifierName;
  String? creatorName;
  String? projectId;
  String? projectBugId;
  String? pageSize;
  String? pageNum;

  ProjectBugFileModel({
    this.id,
    this.isDelete,
    this.creator,
    this.createTime,
    this.modifier,
    this.modifyTime,
    this.remark,
    this.name,
    this.url,
    this.modifierName,
    this.creatorName,
    this.projectId,
    this.projectBugId,
    this.pageSize,
    this.pageNum,
  });

  ProjectBugFileModel.fromJson(Map<String, dynamic> json) {
    id = json['id']?.toString();
    isDelete = int.tryParse(json['isDelete']?.toString() ?? '');
    creator = json['creator']?.toString();
    createTime = json['createTime']?.toString();
    modifier = json['modifier']?.toString();
    modifyTime = json['modifyTime']?.toString();
    remark = json['remark']?.toString();
    name = json['name']?.toString();
    url = json['url']?.toString();
    modifierName = json['modifierName']?.toString();
    creatorName = json['creatorName']?.toString();
    projectId = json['projectId']?.toString();
    projectBugId = json['projectBugId']?.toString();
    pageSize = json['pageSize']?.toString();
    pageNum = json['pageNum']?.toString();
  }

  Map<String, dynamic> toJson() {
    final data = <String, dynamic>{};
    data['id'] = id;
    data['isDelete'] = isDelete;
    data['creator'] = creator;
    data['createTime'] = createTime;
    data['modifier'] = modifier;
    data['modifyTime'] = modifyTime;
    data['remark'] = remark;
    data['name'] = name;
    data['url'] = url;
    data['modifierName'] = modifierName;
    data['creatorName'] = creatorName;
    data['projectId'] = projectId;
    data['projectBugId'] = projectBugId;
    data['pageSize'] = pageSize;
    data['pageNum'] = pageNum;
    return data;
  }
}
